package com.student91.recruit.util.enumutils;

import lombok.NoArgsConstructor;

/**
 * Created by antLuck on 2017/8/31.
 */
@NoArgsConstructor
public enum RoleManager {
    /**
     * PERSON  个人用户
     * ENTERPRISE  企业用户
     */
    PERSON("个人", "person"), ENTERPRISE("企业","enterprise");
    private String rolename;
    private String roleIndex;

    // 构造方法
    private RoleManager(String rolename, String roleIndex) {
        this.rolename = rolename;
        this.roleIndex = roleIndex;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getRoleIndex() {
        return roleIndex;
    }

    public void setRoleIndex(String roleIndex) {
        this.roleIndex = roleIndex;
    }
}
